<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Name')}<span class="text-danger">&nbsp;*</span>:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-name" data-rule="required" class="form-control" name="row[name]" type="text" value="{$row.name}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">企业编号<span class="text-danger">&nbsp;*</span>:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-code" data-rule="required" class="form-control" name="row[code]" type="text" value="{$row.code}" placeholder="请输入企业编号">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">发包方联系电话<span class="text-danger">&nbsp;*</span>:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-concat_phone" data-rule="required|mobile" class="form-control" name="row[concat_phone]" type="text" value="{$row.concat_phone}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">企业邮箱:</label>
        <div class="col-xs-12 col-sm-8">
            <input placeholder="请输入企业邮箱" id="c-email" data-rule="email" class="form-control" name="row[email]" type="text" value="{$row.email}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">省市县<span class="text-danger">&nbsp;*</span>:</label>
        <div class="col-xs-12 col-sm-8" id="c-region" data-toggle="cxselect" data-selects="province,city,area">
            <select class="province form-control" name="row[province]"  data-url="ajax/area" data-value="{$row.province}">
            </select>
            <select class="city form-control" name="row[city]" data-url="ajax/area" data-value="{$row.city}"></select>
            <select class="area form-control" name="row[area]"  data-url="ajax/area" data-value="{$row.area}"></select>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">是否认证<span class="text-danger">&nbsp;*</span>:</label>
        <div class="col-xs-12 col-sm-8">
            <select  id="c-identificationswitch" data-rule="required" class="form-control selectpicker" name="row[identificationswitch]">
                {foreach name="identificationswitchList" item="vo"}
                <option value="{$key}" {in name="key" value="$row.identificationswitch"}selected{/in}>{$vo}</option>
                {/foreach}
            </select>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">经营状态<span class="text-danger">&nbsp;*</span>:</label>
        <div class="col-xs-12 col-sm-8">
            <select  id="c-management" data-rule="required" class="form-control selectpicker" name="row[management]">
                {foreach name="managementList" item="vo"}
                <option value="{$key}" {in name="key" value="$row.management"}selected{/in}>{$vo}</option>
                {/foreach}
            </select>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Category')}<span class="text-danger">&nbsp;*</span>:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-category" data-rule="required" class="form-control" name="row[category]" type="text" value="{$row.category}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Register_money')}(万)<span class="text-danger">&nbsp;*</span>:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-register_money" data-rule="required" class="form-control" name="row[register_money]" type="text" value="{$row.register_money}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Employment')}<span class="text-danger">&nbsp;*</span>:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-employment" data-rule="required" class="form-control" name="row[employment]" type="text" value="{$row.employment}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Register_time')}<span class="text-danger">&nbsp;*</span>:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-register_time" data-rule="required" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[register_time]" type="text" value="{$row.register_time|datetime}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Register_place')}<span class="text-danger">&nbsp;*</span>:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-register_place" data-rule="required" class="form-control" name="row[register_place]" type="text" value="{$row.register_place}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Registry_office')}<span class="text-danger">&nbsp;*</span>:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-registry_office" data-rule="required" class="form-control" name="row[registry_office]" type="text" value="{$row.registry_office}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Credit_code')}<span class="text-danger">&nbsp;*</span>:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-credit_code" data-rule="required" class="form-control" name="row[credit_code]" type="text" value="{$row.credit_code}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Organization_code')}<span class="text-danger">&nbsp;*</span>:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-organization_code" data-rule="required" class="form-control" name="row[organization_code]" type="text" value="{$row.organization_code}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Business_scope')}<span class="text-danger">&nbsp;*</span>:</label>
        <div class="col-xs-12 col-sm-8">
            <textarea id="c-business_scope" class="form-control " rows="5" name="row[business_scope]" cols="50">{$row.business_scope}</textarea>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Detail')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-detail" data-rule="required" class="form-control" name="row[detail]" type="text" value="{$row.detail}">
        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
